package projet.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import javax.persistence.*;


@Entity
@DiscriminatorValue("F")
public class Fondateur extends Investisseur implements Serializable {
	private static final long serialVersionUID = 1L;

	@OneToMany(mappedBy="fondateur")
	private Collection<Startup> l_startup=new ArrayList<Startup>();

    public Fondateur() {
    }	
    
    public Fondateur(String nom, String prenom,float apport, String email, String tel, Compte compte) {
    	super(nom,prenom,apport,email,tel,compte);
    }

	public Collection<Startup> getL_startup() {
		return l_startup;
	}

	public void setL_startup(Collection<Startup> l_startup) {
		this.l_startup = l_startup;
	} 
}